package com.flink.entity;


import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDate;

/**
 * 描述:
 *
 * @author yanzhengwu
 * @create 2022-07-21 8:39
 */
public class User implements Serializable {


    private Long id;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    private int status;
    private String name;
    private String prod;
    private LocalDate date;
    private Integer age;
    private Long timestamp;





    public User() {
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProd() {
        return prod;
    }

    public void setProd(String prod) {
        this.prod = prod;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", status=" + status +
                ", name='" + name + '\'' +
                ", prod='" + prod + '\'' +
                ", date=" + date +
                ", age=" + age +
                ", timestamp=" + timestamp +
                '}';
    }

    public User(String name, String prod, LocalDate date, Integer age, Long timestamp) {
        this.name = name;
        this.prod = prod;
        this.date = date;
        this.age = age;
        this.timestamp = timestamp;
    }
}
